module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
    const CommentSchema = new Schema({
        timestamp:{
            type:String,
            default:Date.now,
        },
        content:String,
    })
    return mongoose.model('Comment', CommentSchema)
}
